//
//  WSGAnnouncedController.m
//  oneDollar
//
//  Created by Laki on 16/6/15.
//  Copyright © 2016年 com.Laki.corder. All rights reserved.
//

#import "WSGAnnouncedController.h"
#import "WSGWebViewController.h"
#import "WSGHttpTool.h"

@interface WSGAnnouncedController ()

@end

@implementation WSGAnnouncedController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // 设置背景颜色
    self.view.backgroundColor = [UIColor whiteColor];
    
    // 创建一个WKWebView
    WSGWebViewController *webView = [[WSGWebViewController alloc] initWithNibName:NSStringFromClass([WSGWebViewController class]) bundle:nil];
    
    // 传递跳转链接
    webView.url = @"http://g.caipiao.163.com/gotoLatestPublish.html";

    
    // 添加到当前View上显示
    [self.view addSubview:webView.view];
    
}


@end
